package com.system.connect.springboot_flowers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 点赞表
 * </p>
 *
 * @author yang
 * @since 2025-01-13
 */
@Getter
@Setter
  public class Likes implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 点赞ID
     */
        @TableId(value = "Like_id", type = IdType.AUTO)
      private Integer likeId;

      /**
     * 发送者ID
     */
      private Integer senderId;

      /**
     * 接收者ID
     */
      private Integer receiverId;

      /**
     * 目标类型
     */
      private String targetType;

      /**
     * 目标ID
     */
      private Integer targetId;

  /**
   * 逻辑删除标志
   */
  private Boolean isDelete;

  /**
   * 创建时间
     */
      private LocalDateTime createdAt;
}
